<!DOCTYPE html>
<html lang="en">
<head>
<title><#:C('sitename')#>--会员中心</title>
<meta name="keywords" content="<#:C('keyword')#>"/>
<meta name="description" content="<#:C('content')#>"/>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<include file="Pub:Css"/>
<link rel="stylesheet" href="<#$Theme['P']['root']#>/matrix/css/uniform.css" />

<link  href="<#$Theme['P']['root']#>/kindeditor/themes/default/default.css" type="text/css" rel="stylesheet">
<script src="<#$Theme['P']['root']#>/matrix/js/jquery.min.js"></script> 
</head>
<body>
   <include file="Pub:top"/>
   <include file="Pub:nav"/>

<div id="content">
<div id="content-header">
  <div id="breadcrumb"> <a href="<#:U('user/index')#>" title="返回首页" class="tip-bottom"><i class="icon-home"></i>首页</a>  <a href="#" class="current">路由编辑</a> </div>
  <h1>路由编辑</h1>
</div>
<div class="container-fluid">
  <hr>
  <div class="row-fluid">
    <div class="span8">
      <div class="widget-box">
        <div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span>
          <h5>编辑</h5>
        </div>
        <div class="widget-content nopadding">

 		<form class="form-horizontal" name='form' action="<#:U('editroute')#>" method="post" enctype="multipart/form-data">
        	 
       		<div class="control-group">
       		<div class="span1"></div>
       			<div class="alert alert-block span10 hide" id="msgbox"> 
              <h4 class="alert-heading">提示信息</h4>
             <div id="alertmsg"></div>
              </div>
       		</div>
			<div class="control-group">
              <label class="control-label">路由标记名称:</label>
              <div class="controls">
               
              <input type="text" class="span5" placeholder="输入路由标记名称 "  value="<#$info.routename#>" name="routename" id="routename"  />
              <span class="help-block">标记路由所在位置。(如前台，机房等)</span> 
               
              </div>
            </div>
            
            <div class="control-group"  id="wxacc">
              <label class="control-label">路由器MAC :</label>
              <div class="controls">
                <input type="text" class="span5" placeholder="输入路由mac " value="<#$info.gw_id#>" name="gw_id" id="gw_id"  />
              <span class="help-block">输入路由的mac地址,不带:号。</span> 
              </div>
            </div>
                       
        <hr/>RouterOS路由器请填写一下信息<br/>
              

       <div class="control-group"  >
              <label class="control-label">HotSpot账号:</label>
              <div class="controls">
                <input type="text" class="span5" placeholder="HotSpot账号 "  name="hotspotname" id="hotspotname" value="<#$info.hotspotname#>"   />
              <span class="help-block">HotSpot账号</span> 
              </div>
            </div>
   <div class="control-group"  >
              <label class="control-label">HotSpot密码:</label>
              <div class="controls">
                <input type="text" class="span5" placeholder="HotSpot密码 "  name="hotspotpass" id="hotspotpass"  value="<#$info.hotspotpass#>"  />
              <span class="help-block">HotSpot密码</span> 
              </div>
            </div>
             
            <div class="form-actions">
            <input type="hidden" value="<#$info.id#>" name="id"/>
              <input type="submit" class="btn btn-success" name="sub" value="保存"/>&nbsp;&nbsp;
              <a href="<#:U('User/routemap')#>" class="btn" id="btn-back">返回</a>
            </div>
          </form>
        </div>
      </div>
      
      
    </div>
    
  </div>
  
</div></div>
   <include file="Pub:foot"/>

<script src="<#$Theme['P']['root']#>/matrix/js/jquery.ui.custom.js"></script> 
<script src="<#$Theme['P']['root']#>/matrix/js/bootstrap.min.js"></script> 
<script src="<#$Theme['P']['root']#>/matrix/js/matrix.js"></script> 
<script src="<#$Theme['P']['root']#>/matrix/js/jquery.uniform.js"></script> 
<script src="<#$Theme['P']['root']#>/matrix/js/common.js"></script> 
<script>


$(document).ready(function(){
	$('input[type=checkbox],input[type=radio],input[type=file]').uniform();
});
</script>
</body>
</html>
